/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 预付款Entity
 * @author 李超辉
 * @version 2018-04-24
 */
public class Advance extends DataEntity<Advance> {
	
	private static final long serialVersionUID = 1L;
	private Date date;		// 签订时间
	private String code;		// 合同号
	private String zccode;		// 租车协议号
	private String person;		// 承运人
	private String card;		// 承运人车牌号
	private String phone;		// 司机电话
	private String start;		// 起运地
	private String arrive;		// 到站地
	private String money;		// 预付现金
	private String oil;		// 预付油卡
	private String sfxj;//实付现金
	private String sfyk; //实付油卡
	private String sfzje;//实付总金额
	private String bill; //运单Id
	private Date fkdate;		// 付款时间
	private String pro;   //项目
	private String minDate;   //开始日期
	private String max;  //截止日期
	private String number;  //油卡卡号
    private String status;   //状态
	private Date rz;//入账日期
	@JsonFormat(pattern = "yyyy-MM-dd")
	public Date getRz() {
		return rz;
	}

	public void setRz(Date rz) {
		this.rz = rz;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSfxj() {
		return sfxj;
	}

	public void setSfxj(String sfxj) {
		this.sfxj = sfxj;
	}

	public String getSfyk() {
		return sfyk;
	}

	public void setSfyk(String sfyk) {
		this.sfyk = sfyk;
	}

	public String getSfzje() {
		return sfzje;
	}

	public void setSfzje(String sfzje) {
		this.sfzje = sfzje;
	}

	public String getBill() {
		return bill;
	}

	public void setBill(String bill) {
		this.bill = bill;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getMinDate() {
		return minDate;
	}

	public void setMinDate(String minDate) {
		this.minDate = minDate;
	}

	public String getMax() {
		return max;
	}

	public void setMax(String max) {
		this.max = max;
	}

	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}

	public Advance() {
		super();
	}

	public Advance(String id){
		super(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="签订时间", align=2, sort=7)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@ExcelField(title="合同号", align=2, sort=8)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@ExcelField(title="租车协议号", align=2, sort=9)
	public String getZccode() {
		return zccode;
	}

	public void setZccode(String zccode) {
		this.zccode = zccode;
	}
	
	@ExcelField(title="承运人", align=2, sort=10)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="承运人车牌号", align=2, sort=11)
	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}
	
	@ExcelField(title="司机电话", align=2, sort=12)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="起运地", align=2, sort=13)
	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}
	
	@ExcelField(title="到站地", align=2, sort=14)
	public String getArrive() {
		return arrive;
	}

	public void setArrive(String arrive) {
		this.arrive = arrive;
	}
	
	@ExcelField(title="预付现金", align=2, sort=15)
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
	@ExcelField(title="预付油卡", align=2, sort=16)
	public String getOil() {
		return oil;
	}

	public void setOil(String oil) {
		this.oil = oil;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="付款时间", align=2, sort=17)
	public Date getFkdate() {
		return fkdate;
	}

	public void setFkdate(Date fkdate) {
		this.fkdate = fkdate;
	}
	
}